package Entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.*;

@Entity
@Table (name = "Caja")
public class CajaEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@Id
	@Column (name = "idCaja")
	private int id;
	
	@Column (name = "monto")
	private float monto;
	
	@Column (name = "ultimoCierre")
	private Date ultimoCierre;
	
	@ManyToOne
	@JoinColumn  (name = "idSucursal")
	//private int idSucursal;
	private SucursalEntity sucursal;
	
	

}
